package cn.yq.share.util;

import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @author 007
 * @version V1.0
 * @Description:
 * @date 2018/11/27 19:05
 */
public class PageResult<T> extends PageInfo<T> {
    public PageResult() {
    }

    public PageResult(List<T> list) {
        super(list, 8);
    }

    private Integer code;//layui框架列表模块返回参数中必须包含code状态字段

    public Integer getCode() {
        return code;
    }

    public void setCode(Integer code) {
        this.code = code;
    }

}